package com.example.myproject.message.grainCrops;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentTransaction;

import com.example.myproject.R;
import com.example.myproject.SideNavigation.ArborFragment;
import com.example.myproject.SideNavigation.FruitTreeFragment;
import com.example.myproject.SideNavigation.GrainCropsFragment;
import com.example.myproject.SideNavigation.MedicinalPlantFragment;
import com.example.myproject.SideNavigation.PestFragment;
import com.example.myproject.SideNavigation.VegetableFragment;
import com.example.myproject.activity.Home_activity;
import com.example.myproject.fragment.CollectFragment;
import com.example.myproject.view.FixedViewPager;

public class GrainCropsMessageRiceActivity extends AppCompatActivity {

    private TextView favor;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_grain_crops_rice_message);

        favor=findViewById(R.id.favorRice);
        favor.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                //关注逻辑
            }
        });

    }



}